﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Vhcs.Data.Dao;

namespace Vhcs.Data
{
    public class LeaveRequestAction
    {
        public void UpdateLeaveRequestStatus(long applicationID, int status){
            LeaveRequestDao dao = new LeaveRequestDao();
            dao.UpdateLeaveRequestStatus(applicationID, status);
        }

        public void UpdateHistoryProcess(long applicationID, int status, string userApprove)
        {
            LeaveRequestDao dao = new LeaveRequestDao();
            dao.UpdateHistoryProcess(applicationID, status, userApprove);
        }

    }
}
